package com.infoland.afanmall.model.youXuan.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

/**
 * 抢购商品实体
 */
public class TimeByEntity implements MultiItemEntity {

    /**
     * totalRow : 4
     * pageNumber : 1
     * firstPage : true
     * lastPage : true
     * totalPage : 1
     * pageSize : 10
     * list : [{"g_end_time":"2018-07-31 23:55:00","g_sort":1,"g_ft_id":null,"modify_time":"2018-07-09 13:29:35","g_trace_code":null,"g_cate_id":1,"g_status_v":"正常","g_rate":0.1,"g_hot_start_time":"2018-07-09 10:25:00","goods_hot_price":0.01,"g_hot_end_time":"2018-07-09 10:30:00","g_labels":"[]","g_type_v":"普通","g_name":"大白菜（限时购）","g_indate":null,"store_name":"吉林省阿凡提科技有限公司","id":211,"g_status":1,"f_url":"http://file.dwys.aft100.com/group1/M00/00/27/rBG7OFtCwwaAOxaPAAAlv1fgD2Y618.jpg","g_province":"吉林省","store_id":24,"business_name":"吉林省阿凡提科技有限公司","create_time":"2018-07-09 10:06:11","g_type":1,"g_hot_flag":1,"g_price":0.1,"g_introduction":"商品简介","g_content":"商品介绍","g_origin_price":"1","g_browse_count":0,"g_start_time":"2018-07-09 13:35:00","g_sales":2,"g_stock":198,"g_favs":0,"business_id":6},{"g_end_time":"2018-07-31 23:55:00","g_sort":3,"g_ft_id":null,"modify_time":null,"g_trace_code":null,"g_cate_id":1,"g_status_v":"正常","g_rate":0.1,"g_hot_start_time":"2018-07-09 13:50:00","goods_hot_price":0.01,"g_hot_end_time":"2018-07-09 15:00:00","g_labels":"[]","g_type_v":"普通","g_name":"白猪肉","g_indate":null,"store_name":"吉林省阿凡提科技有限公司","id":212,"g_status":1,"f_url":"http://file.dwys.aft100.com/group1/M00/00/28/rBG7OFtC-BiAabSLAABxgQOxy4I831.jpg","g_province":"湖南省","store_id":24,"business_name":"吉林省阿凡提科技有限公司","create_time":"2018-07-09 13:52:25","g_type":1,"g_hot_flag":1,"g_price":0.1,"g_introduction":"商品简介","g_content":"商品介绍","g_origin_price":"1","g_browse_count":0,"g_start_time":"2018-07-09 13:50:00","g_sales":0,"g_stock":400,"g_favs":0,"business_id":6},{"g_end_time":"2018-07-31 23:55:00","g_sort":4,"g_ft_id":null,"modify_time":"2018-07-10 10:17:18","g_trace_code":null,"g_cate_id":1,"g_status_v":"正常","g_rate":0.99,"g_hot_start_time":"2018-07-09 13:52:00","goods_hot_price":0.01,"g_hot_end_time":"2018-07-31 23:55:00","g_labels":"[{\"name\": \"热销\", \"active\": true}, {\"name\": \"退货返运费\", \"active\": false}, {\"name\": \"7天无理由退货\", \"active\": false}, {\"name\": \"隔日达\", \"active\": false}, {\"name\": \"自提\", \"active\": false}, {\"name\": \"7天包邮\", \"active\": false}]","g_type_v":"普通","g_name":"笨鸡蛋","g_indate":null,"store_name":"吉林省阿凡提科技有限公司","id":213,"g_status":1,"f_url":"http://file.dwys.aft100.com/group1/M00/00/28/rBG7OFtC-G2AJMV3AAER3zmaeUM086.jpg","g_province":"黑龙江省","store_id":24,"business_name":"吉林省阿凡提科技有限公司","create_time":"2018-07-09 13:53:50","g_type":1,"g_hot_flag":1,"g_price":99,"g_introduction":"商品简介","g_content":"商品介绍","g_origin_price":"100","g_browse_count":0,"g_start_time":"2018-07-09 13:52:00","g_sales":-15,"g_stock":115,"g_favs":0,"business_id":6},{"g_end_time":"2018-12-31 23:55:00","g_sort":100,"g_ft_id":null,"modify_time":"2018-07-05 18:53:15","g_trace_code":null,"g_cate_id":1,"g_status_v":"正常","g_rate":1,"g_hot_start_time":"2018-07-05 18:52:00","goods_hot_price":30,"g_hot_end_time":"2018-07-07 23:55:00","g_labels":"[]","g_type_v":"普通","g_name":"七朵白云蟹田鲜米2.5kg","g_indate":"2018-12-31 23:55:00","store_name":"吉林省阿凡提科技有限公司","id":138,"g_status":1,"f_url":"http://file.dwys.aft100.com/group1/M00/00/15/rBG7OFrQSqyAdgYdAABJ7I_HbK0069.jpg","g_province":null,"store_id":24,"business_name":"吉林省阿凡提科技有限公司","create_time":"2018-04-08 10:06:29","g_type":1,"g_hot_flag":1,"g_price":68,"g_introduction":"粒粒鲜明透亮 色泽鲜明","g_content":"<p><img alt=\"\" src=\"http://file.dwys.aft100.com/group1/M00/00/15/rBG7OFrJeLqASQLaAAllMsvb6Kw289.png\" style=\"height:661px; width:750px\" /><img alt=\"\" src=\"http://file.dwys.aft100.com/group1/M00/00/15/rBG7OFrJsxmAOVFYAAGZAdYWs6Q761.jpg\" style=\"height:509px; width:750px\" /><img alt=\"\" src=\"http://file.dwys.aft100.com/group1/M00/00/15/rBG7OFrJeNWAG2-wAAGG8h0Tmi4539.png\" style=\"height:219px; width:750px\" /><img alt=\"\" src=\"http://file.dwys.aft100.com/group1/M00/00/15/rBG7OFrJeN2AfqazAAC4dhU5jbA863.jpg\" style=\"height:367px; width:750px\" /><img alt=\"\" src=\"http://file.dwys.aft100.com/group1/M00/00/15/rBG7OFrJeOGAO7-SAAI1G1GgAnM896.jpg\" style=\"height:788px; width:750px\" /><img alt=\"\" src=\"http://file.dwys.aft100.com/group1/M00/00/15/rBG7OFrJeOuAfz8eAAXSIe5Q_fQ059.png\" style=\"height:1316px; width:750px\" /><img alt=\"\" src=\"http://file.dwys.aft100.com/group1/M00/00/15/rBG7OFrJePGATwMpAAjl0r9kxiM823.png\" style=\"height:641px; width:750px\" /><img alt=\"\" src=\"http://file.dwys.aft100.com/group1/M00/00/15/rBG7OFrJePaAJcBnAAEc81sqyvs233.jpg\" style=\"height:500px; width:750px\" /><img alt=\"\" src=\"http://file.dwys.aft100.com/group1/M00/00/15/rBG7OFrJePyAZmOUAAHGiMAyQ-Y753.jpg\" style=\"height:653px; width:750px\" /><img alt=\"\" src=\"http://file.dwys.aft100.com/group1/M00/00/15/rBG7OFrJeQKAN6iTAAbxHvbVTpg814.png\" style=\"height:432px; width:750px\" /><img alt=\"\" src=\"http://file.dwys.aft100.com/group1/M00/00/15/rBG7OFrJeQiAYJ9OAAS29hKny8E634.png\" style=\"height:360px; width:750px\" /><img alt=\"\" src=\"http://file.dwys.aft100.com/group1/M00/00/15/rBG7OFrJeQ2AY72dAAUV6S42GDI907.png\" style=\"height:367px; width:750px\" /><img alt=\"\" src=\"http://file.dwys.aft100.com/group1/M00/00/15/rBG7OFrJeRKAX8-EAARrTny3Y70279.png\" style=\"height:505px; width:750px\" /><img alt=\"\" src=\"http://file.dwys.aft100.com/group1/M00/00/15/rBG7OFrJeRmAPXvKAAid5XkPbDk161.png\" style=\"height:700px; width:750px\" /><img alt=\"\" src=\"http://file.dwys.aft100.com/group1/M00/00/15/rBG7OFrJeSGAStwXAAeXCiPBKB4976.png\" style=\"height:621px; width:750px\" /><\/p>\n","g_origin_price":"68","g_browse_count":0,"g_start_time":"2018-04-08 10:06:00","g_sales":400,"g_stock":600,"g_favs":0,"business_id":6}]
     */

    private int totalRow;
    private int pageNumber;
    private boolean firstPage;
    private boolean lastPage;
    private int totalPage;
    private int pageSize;
    private List<ListBean> list;

    @Override
    public int getItemType() {
        return YouXuanType.TIME_BY;
    }

    public int getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(int totalRow) {
        this.totalRow = totalRow;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public boolean isFirstPage() {
        return firstPage;
    }

    public void setFirstPage(boolean firstPage) {
        this.firstPage = firstPage;
    }

    public boolean isLastPage() {
        return lastPage;
    }

    public void setLastPage(boolean lastPage) {
        this.lastPage = lastPage;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements MultiItemEntity {
        /**
         * g_end_time : 2018-07-31 23:55:00
         * g_sort : 1
         * g_ft_id : null
         * modify_time : 2018-07-09 13:29:35
         * g_trace_code : null
         * g_cate_id : 1
         * g_status_v : 正常
         * g_rate : 0.1
         * g_hot_start_time : 2018-07-09 10:25:00
         * goods_hot_price : 0.01
         * g_hot_end_time : 2018-07-09 10:30:00
         * g_labels : []
         * g_type_v : 普通
         * g_name : 大白菜（限时购）
         * g_indate : null
         * store_name : 吉林省阿凡提科技有限公司
         * id : 211
         * g_status : 1
         * f_url : http://file.dwys.aft100.com/group1/M00/00/27/rBG7OFtCwwaAOxaPAAAlv1fgD2Y618.jpg
         * g_province : 吉林省
         * store_id : 24
         * business_name : 吉林省阿凡提科技有限公司
         * create_time : 2018-07-09 10:06:11
         * g_type : 1
         * g_hot_flag : 1
         * g_price : 0.1
         * g_introduction : 商品简介
         * g_content : 商品介绍
         * g_origin_price : 1
         * g_browse_count : 0
         * g_start_time : 2018-07-09 13:35:00
         * g_sales : 2
         * g_stock : 198
         * g_favs : 0
         * business_id : 6
         */

        private String g_end_time;
        private int g_sort;
        private Object g_ft_id;
        private String modify_time;
        private Object g_trace_code;
        private int g_cate_id;
        private String g_status_v;
        private double g_rate;
        private String g_hot_start_time;
        private double goods_hot_price;
        private String g_hot_end_time;
        private String g_labels;
        private String g_type_v;
        private String g_name;
        private Object g_indate;
        private String store_name;
        private int id;
        private int g_status;
        private String f_url;
        private String g_province;
        private int store_id;
        private String business_name;
        private String create_time;
        private int g_type;
        private int g_hot_flag;
        private double g_price;
        private String g_introduction;
        private String g_content;
        private String g_origin_price;
        private int g_browse_count;
        private String g_start_time;
        private int g_sales;
        private int g_stock;
        private int g_favs;
        private int business_id;

        public String getG_end_time() {
            return g_end_time;
        }

        public void setG_end_time(String g_end_time) {
            this.g_end_time = g_end_time;
        }

        public int getG_sort() {
            return g_sort;
        }

        public void setG_sort(int g_sort) {
            this.g_sort = g_sort;
        }

        public Object getG_ft_id() {
            return g_ft_id;
        }

        public void setG_ft_id(Object g_ft_id) {
            this.g_ft_id = g_ft_id;
        }

        public String getModify_time() {
            return modify_time;
        }

        public void setModify_time(String modify_time) {
            this.modify_time = modify_time;
        }

        public Object getG_trace_code() {
            return g_trace_code;
        }

        public void setG_trace_code(Object g_trace_code) {
            this.g_trace_code = g_trace_code;
        }

        public int getG_cate_id() {
            return g_cate_id;
        }

        public void setG_cate_id(int g_cate_id) {
            this.g_cate_id = g_cate_id;
        }

        public String getG_status_v() {
            return g_status_v;
        }

        public void setG_status_v(String g_status_v) {
            this.g_status_v = g_status_v;
        }

        public double getG_rate() {
            return g_rate;
        }

        public void setG_rate(double g_rate) {
            this.g_rate = g_rate;
        }

        public String getG_hot_start_time() {
            return g_hot_start_time;
        }

        public void setG_hot_start_time(String g_hot_start_time) {
            this.g_hot_start_time = g_hot_start_time;
        }

        public double getGoods_hot_price() {
            return goods_hot_price;
        }

        public void setGoods_hot_price(double goods_hot_price) {
            this.goods_hot_price = goods_hot_price;
        }

        public String getG_hot_end_time() {
            return g_hot_end_time;
        }

        public void setG_hot_end_time(String g_hot_end_time) {
            this.g_hot_end_time = g_hot_end_time;
        }

        public String getG_labels() {
            return g_labels;
        }

        public void setG_labels(String g_labels) {
            this.g_labels = g_labels;
        }

        public String getG_type_v() {
            return g_type_v;
        }

        public void setG_type_v(String g_type_v) {
            this.g_type_v = g_type_v;
        }

        public String getG_name() {
            return g_name;
        }

        public void setG_name(String g_name) {
            this.g_name = g_name;
        }

        public Object getG_indate() {
            return g_indate;
        }

        public void setG_indate(Object g_indate) {
            this.g_indate = g_indate;
        }

        public String getStore_name() {
            return store_name;
        }

        public void setStore_name(String store_name) {
            this.store_name = store_name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getG_status() {
            return g_status;
        }

        public void setG_status(int g_status) {
            this.g_status = g_status;
        }

        public String getF_url() {
            return f_url;
        }

        public void setF_url(String f_url) {
            this.f_url = f_url;
        }

        public String getG_province() {
            return g_province;
        }

        public void setG_province(String g_province) {
            this.g_province = g_province;
        }

        public int getStore_id() {
            return store_id;
        }

        public void setStore_id(int store_id) {
            this.store_id = store_id;
        }

        public String getBusiness_name() {
            return business_name;
        }

        public void setBusiness_name(String business_name) {
            this.business_name = business_name;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public int getG_type() {
            return g_type;
        }

        public void setG_type(int g_type) {
            this.g_type = g_type;
        }

        public int getG_hot_flag() {
            return g_hot_flag;
        }

        public void setG_hot_flag(int g_hot_flag) {
            this.g_hot_flag = g_hot_flag;
        }

        public double getG_price() {
            return g_price;
        }

        public void setG_price(double g_price) {
            this.g_price = g_price;
        }

        public String getG_introduction() {
            return g_introduction;
        }

        public void setG_introduction(String g_introduction) {
            this.g_introduction = g_introduction;
        }

        public String getG_content() {
            return g_content;
        }

        public void setG_content(String g_content) {
            this.g_content = g_content;
        }

        public String getG_origin_price() {
            return g_origin_price;
        }

        public void setG_origin_price(String g_origin_price) {
            this.g_origin_price = g_origin_price;
        }

        public int getG_browse_count() {
            return g_browse_count;
        }

        public void setG_browse_count(int g_browse_count) {
            this.g_browse_count = g_browse_count;
        }

        public String getG_start_time() {
            return g_start_time;
        }

        public void setG_start_time(String g_start_time) {
            this.g_start_time = g_start_time;
        }

        public int getG_sales() {
            return g_sales;
        }

        public void setG_sales(int g_sales) {
            this.g_sales = g_sales;
        }

        public int getG_stock() {
            return g_stock;
        }

        public void setG_stock(int g_stock) {
            this.g_stock = g_stock;
        }

        public int getG_favs() {
            return g_favs;
        }

        public void setG_favs(int g_favs) {
            this.g_favs = g_favs;
        }

        public int getBusiness_id() {
            return business_id;
        }

        public void setBusiness_id(int business_id) {
            this.business_id = business_id;
        }

        @Override
        public int getItemType() {
            return 0;
        }
    }
}